package service;

import java.util.List;

import beans.Agent;
import beans.Branch;


public interface BranchServiceInterface {

    /**
     * 
     * 获取分页集合
     * @author Devil Zheng
     * @created 2015-9-5 下午2:27:09
     * @param agent
     * @param rows
     * @param page
     * @return
     */
    List<Branch> getBranches(Agent agent,int rows,int page);
    
    /**
     * 
     * 获取总数
     * @author Devil Zheng
     * @created 2015-9-5 下午2:27:21
     * @param agent
     * @return
     */
    int getBranchNumber(Agent agent);
    
    /**
     * 
     * 删除
     * @author Devil Zheng
     * @created 2015-9-12 下午9:53:41
     * @param ids
     */
    void deleteBranch(String ids);
    
}